﻿@{
    ViewBag.Title = "登录医途";
}
@model zqdn.Web.ViewModels.UserLoginViewModel
<div class="wrap">
    <div class="join-us">
        <p class="ty-logon"></p>
        @using (Html.BeginForm("login", "user", FormMethod.Post, new { id = "myform" ,@class="form"}))
        {
            <div class="form-data">
                <label>用户名:</label>
                @Html.TextBoxFor(o => o.UserName, new { @class = "form-control required", placeholder = "用户名/手机号码" })
            </div>
            <div class="form-data">
                <label>密码:</label>
                @Html.PasswordFor(o => o.Password, new { @class = "form-control required", placeholder = "密码" })
            </div>

            <div class="form">
                <div class="form-data">
                    <button type="submit" class="submit-btn">登&nbsp;&nbsp;录</button>
                    <div class="forget">
                        @*<a id="left" href="#">忘记密码?</a>*@
                        <a id="left" href="@Url.Action("index", "commoncenter")">进入学习 <i class="fa fa-hand-o-right fa-1x"></i></a>
                        <a id="right" href="@Url.Action("register", "user")">立即注册</a>
                    </div>
                </div>
            </div>
        }
    </div>
</div>

@section scripts
{
    <script src="~/Content/js/jquery.validate/jquery.validate.min.js"></script>
}